import 'package:get/get.dart';
import 'package:oramemo/core/controllers/device_controller.dart';
import 'package:oramemo/pages/home/home_logic.dart';

class FirstLogic extends GetxController {

  final currentIndex = 0.obs;

  @override
  void onInit() async {
    await loadData();
    super.onInit();
  }

  Future<void> loadData() async {
    await HomeLogic.to.requestDevices();
    update();
  }

}
